﻿@{
    ViewBag.Title = "Confirm";
}
<div style="margin:0 auto;width:600px;text-align:center" class="ui-widget ui-widget-content ui-corner-all">
@using (Html.BeginForm()){
<h2 class="">@ViewBag.TaskName</h2>
<p>
    @ViewBag.Message
</p>
<div class="buttonset">
<input type="submit" value="Gửi"/>
<a href="#">Trở lại</a>
<a href="@ViewBag.FormSource" class="OpenWindow">Xem Mẫu Đơn</a>
</div>
}
</div>

<script type="text/javascript">
    $(document).ready(function () {
        $(".OpenWindow").live("click", function (event) {
            var url = this.href;
            window.open(url);
            return false;
        });
    });
</script>